package com.jisu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("comment")
public class Comment {
    @TableId(type = IdType.AUTO)
    private Integer commentId;

    @TableField("user_id")
    private Long userId;

    @TableField("model_id")
    private Integer modelId;

    @TableField("comment_detail")
    private String commentDetail;

    private Double powerScore;
    private Double appearanceScore;
    private Double comfortScore;
    private Double spaceScore;
    private Double handlingScore;
    private Double interiorScore;
    @TableField("create_time")
    private LocalDateTime createTime;
}
